package com.itheima.demothis;

public class StudentThis {
    /*
    this的原理:哪个对象
     */
    public static void main(String[] args) {
        Student s1 = new Student();
        System.out.println(s1);
        s1.setName("张三");

        System.out.println("---------------");

        Student s2 = new Student();
        System.out.println(s2);
        s2.setName("李四");
    }
}
